﻿<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<HTML>
<HEAD>
<META content="IE=10.000" 
http-equiv="X-UA-Compatible">
<META charset="utf-8">
<TITLE>${SYS_ENTITY.sysName }问题反馈</TITLE>
<META name="description" content="overview &amp; stats">
<META name="viewport" content="width=device-width, initial-scale=1.0">
<!--basic styles-->
<LINK href="${pageContext.request.contextPath}/css/bootstrap.min.css" rel="stylesheet">
<LINK href="${pageContext.request.contextPath}/css/bootstrap-responsive.min.css" rel="stylesheet">
<LINK href="${pageContext.request.contextPath}/css/font-awesome.min.css" rel="stylesheet">
<script type="text/javascript" src="${pageContext.request.contextPath}/js/jquery/jquery-1.8.3.min.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath}/js/popup.js"></script>
<!--[if IE 7]>
		  <link rel="stylesheet" href="assets/css/font-awesome-ie7.min.css" />
		<![endif]-->
<!--page specific plugin styles-->

<!--fonts-->
<LINK href="${pageContext.request.contextPath}/css/css.css" rel="stylesheet">
<!--ace styles-->
<LINK href="${pageContext.request.contextPath}/css/ace.min.css" rel="stylesheet">
<LINK href="${pageContext.request.contextPath}/css/ace-responsive.min.css" rel="stylesheet">

<!--[if lte IE 8]>
		  <link rel="stylesheet" href="assets/css/ace-ie.min.css" />
		<![endif]-->
<!--inline styles related to this page--><!--ace settings handler-->


<META name="GENERATOR" content="MSHTML 10.00.9200.16660"><base>
<script type="text/javascript">

Array.prototype.contains = function (elem) {
	   for (var i = 0; i < this.length; i++) {
	            if (this[i] == elem) {
	                    return true;
	            }
	      }
	     return false;
}
//回调函数
function doCallback(fn,args){
	fn.apply(this, args);
}

function ajaxSubmit(url,data,fnSuccess,fnError){
$.ajax({
	type : 'post',
	cache : false,
	dataType : 'json',
	url : url,
	loading : '正在获取...',
	data : data,
	success : function(desc) {
		//$("#menuDesc").html(desc);
		doCallback(fnSuccess,[desc]);
	},
	error : function(message) {
		doCallback(fnError);
	}
});
}
String.prototype.replaceAll = function(s1,s2) { 
    var str = this.replace(new RegExp(s1,"gm"),s2); 
    return str;
}
var pop  ;
function showLogin(){
	 pop=new Popup({ contentType:1,scrollType:'yes',isReloadOnClose:false,width:500,height:400});
     pop.setContent("contentUrl","${pageContext.request.contextPath}/pages/help/fb_login.html");
     pop.setContent("title","登录");
     pop.build();
     pop.show();
}

function closePop(){
	pop.close();
}

function loginOut(){
	this.ajaxSubmit('${pageContext.request.contextPath}/help/topic/loginOut.action','',loginOutS,loginOutF);
}

function loginOutS(data){
	if(data==1){
		$("#loginIn").hide();
		$("#loginOut").show();
		alert($('#username').val() +'已登出');
	}else {
		alert(data);
	}
}
function loginOutF(){
	alert("登出异常！");
}


</script>
</HEAD>
<BODY>
<input type="hidden" id="fbContextPath" value="${pageContext.request.contextPath}"/>
<h2><a name="topIndex"></a></h2> 
<DIV class="navbar" id="navbar"> 
  <DIV class="navbar-inner">
    <DIV style="display:${empty SPRING_SECURITY_CONTEXT.authentication.principal.username?'':'none'}" id="loginOut" class="container-fluid"><A class="brand" href="#"> <SMALL> <img src="${pageContext.request.contextPath}/images/logo.png" border="0"></SMALL> </A><!--/.brand-->   
      <UL class="nav ace-nav pull-right" style="height:45px;">
        <LI class="purple"><A onclick="javascript:showLogin();" class="dropdown-toggle" href="javascript:void();" data-toggle="dropdown" id="loginA1"> 登录  </A> 
        </LI>
       <!--  <LI class="green"><A class="dropdown-toggle" href="javascript:void();"  data-toggle="dropdown">&nbsp;&nbsp;</A>  
        </LI> -->
      </UL>
      <!--/.ace-nav--> 
    </DIV>
    <DIV style="display:${empty SPRING_SECURITY_CONTEXT.authentication.principal.username?'none':''}" id="loginIn" class="container-fluid"><A class="brand" href="#"> <SMALL> <img src="${pageContext.request.contextPath}/images/logo.png" border="0"></SMALL> </A><!--/.brand-->   
      <UL class="nav ace-nav pull-right" style="height:45px;">
        <LI class="purple"><A onclick="javascript:void();" class="dropdown-toggle" href="javascript:void();" data-toggle="dropdown" id="loginA2"> ${SPRING_SECURITY_CONTEXT.authentication.principal.username }  </A> 
        </LI>
        <LI class="green"><A class="dropdown-toggle"  onclick="javascript:loginOut();" href="javascript:void();"   data-toggle="dropdown">注销 </A>  
        </LI>
      </UL>
      <!--/.ace-nav--> 
    </DIV>
    
    <!--/.container-fluid--> 
  </DIV>
  <!--/.navbar-inner--> 
</DIV>
<DIV class="main-container container-fluid"><A class="menu-toggler" id="menu-toggler" 
href="#"><SPAN 
class="menu-text"></SPAN></A>			 
<DIV class="sidebar" id="sidebar">
<SCRIPT type="text/javascript">
					try{ace.settings.check('sidebar' , 'fixed')}catch(e){}
				</SCRIPT>
				 
<!--#sidebar-shortcuts-->				 
<jsp:include page="help_tree.jsp"/>
  
  <!--/.nav-list-->				 
<DIV class="sidebar-collapse" id="sidebar-collapse"><I class="icon-double-angle-left" data-icon2="icon-double-angle-right" data-icon1="icon-double-angle-left"></I></DIV>
<SCRIPT type="text/javascript">
try{ace.settings.check('sidebar' , 'collapsed')}catch(e){}
</SCRIPT>
 </DIV>
 
<DIV class="main-content">
<DIV class="breadcrumbs" id="breadcrumbs">

<SCRIPT type="text/javascript">
try{ace.settings.check('breadcrumbs' , 'fixed')}catch(e){}
</SCRIPT>
					 
<UL id ='banner' class="breadcrumb">
  <LI class="active"><I class="icon-home home-icon"></I>首页</LI>
</UL>
 <!--.breadcrumb-->		
 			 
<DIV class="nav-search" id="nav-search">
<script>
function searchByUser(){
	findRows();
	return false;
}
</script>
<FORM class="form-search" id="search_form" onsubmit="return searchByUser();">
<input type="hidden" id="searchType" name="vo.searchType" value="one" />
<input type="hidden" id='pageIndex' name="vo.pageData.pageIndex" value="1"/>
<input type="hidden" id='pageLen' name="vo.pageData.pageLen" value="9"/>
<input type="hidden" id='mid' name="vo.mid"/>
<input type="hidden" id='sysType' name="vo.sysType" value="${vo.sysType }"/>
<input type="hidden" id='username' name="vo.username" value="${SPRING_SECURITY_CONTEXT.authentication.principal.username }"/>
<SPAN class="input-icon">
<INPUT class="input-small nav-search-input" name="vo.title" id="nav-search-input" type="text" placeholder="Search ..." value="" autocomplete="off">	<I class="icon-search nav-search-icon"></I>
</SPAN>
</FORM>
</DIV>
<!--#nav-search-->				 
</DIV>

<DIV id="topicPageContent" class="page-content">

<jsp:include page="help_menu_desc.jsp"></jsp:include>


<jsp:include page="topic_list.jsp"/>
	

 </DIV>
 <div id="chatPageContent" style="display: none" class="page-content">
<jsp:include page="help_chat.jsp"/>
 </div>
 </DIV>
<!--/.main-container-->

<jsp:include page="launch_topic.jsp"/>

<script language="javascript" type="text/javascript">
var w3c = (document.getElementById) ? true : false;
var agt = navigator.userAgent.toLowerCase();
var ie = ((agt.indexOf("msie") != -1) && (agt.indexOf("opera") == -1) && (agt.indexOf("omniweb") == -1));
var mymovey = new Number();
function IeTrueBody(){
    return (document.compatMode && document.compatMode!="BackCompat") ? document.documentElement : document.body;
}
function GetScrollTop(){
    return ie ? IeTrueBody().scrollTop : window.pageYOffset;
}
function heartBeat(){
    diffY=GetScrollTop(); 
    mymovey += Math.floor((diffY-document.getElementById('backi').style.top.replace("px","")+450)*0.1);
    document.getElementById('backi').style.top = mymovey+"px";
} 
window.setInterval("heartBeat()",1);
</script>


<!--<![endif]--> 
<!--[if IE]>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
<![endif]--> 
<!--[if !IE]>--> 
<SCRIPT type="text/javascript">
			window.jQuery || document.write("<script src='${pageContext.request.contextPath}/assets/js/jquery-2.0.3.min.js'>"+"<"+"/script>");
		</SCRIPT> 
<!--<![endif]--> <!--[if IE]>
<script type="text/javascript">
 window.jQuery || document.write("<script src='assets/js/jquery-1.10.2.min.js'>"+"<"+"/script>");
</script>
<![endif]--> 

<SCRIPT type="text/javascript">
			if("ontouchend" in document) document.write("<script src='${pageContext.request.contextPath}/assets/js/jquery.mobile.custom.min.js'>"+"<"+"/script>");
		</SCRIPT> 

<!--page specific plugin scripts--> <!--[if lte IE 8]>
		  <script src="assets/js/excanvas.min.js"></script>
		<![endif]--> 

 <SCRIPT src="${pageContext.request.contextPath}/js/ace-extra.min.js"></SCRIPT>
<!--ace scripts--> 
<SCRIPT src="${pageContext.request.contextPath}/js/ace-elements.min.js"></SCRIPT> 
<SCRIPT src="${pageContext.request.contextPath}/js/ace.min.js"></SCRIPT> 
<!--inline scripts related to this page--> 

 <!-- javascript
        ================================================== -->
        <!-- required js -->
        <script type="text/javascript" src="${pageContext.request.contextPath}/js/jquery-ui.js"></script>
        
        <!-- metro js, required! -->
        <script type="text/javascript" src="${pageContext.request.contextPath}/js/metro-base.js"></script>
        
        <script type="text/javascript" src="${pageContext.request.contextPath}/js/bootstrap.js"></script>

</BODY>
</HTML>
	